<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@page import="java.util.*"%>
<%@ page import="com.zq.pojo.Eva" %>
<%@ page import="com.zq.serviceImpl.EvaServiceImpl" %>
<%@ page import="com.zq.page.Page" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html >
<html>
<head>
		<title></title>
		<style type="text/css">
		#e{
		
			height:40px;
			margin-top: 20px;
		}
		</style>
		
		<!--适配于手机终端和PAD等移动终端，禁止缩放-->
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta charset="UTF-8" />
		<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
	</head>

<body>
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
		<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
		
		
		<div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">
			<ul class="nav nav-tabs">
				<li >
					 <a href="${pageContext.request.contextPath}/dept_findAll.action">部门表</a>
				</li>
				
				<li>
					<a href="${pageContext.request.contextPath}/queryfind.action">员工表 </a>
				</li>
				<li >
					 <a href="${pageContext.request.contextPath}/contract_find_findByFirstPage.action">部门合同</a>

				</li>
				<li>
					  <a href="${pageContext.request.contextPath}/Human_Resource_find_findAll.action">人才资源管理</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/transfer_find_findAll.action">人员调动管理</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/eva_findAll.action">员工绩效评估</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/hrmr_find_findHRReport.action">HR月报</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/leave_findAll.action">考勤</a>
				</li>
				<li >
					 <a href="${pageContext.request.contextPath}/advise_findAll.action">招聘表</a>
				</li>				
				
			</ul>
			
				<img src = "${pageContext.request.contextPath }/picszq/p4.jpg" alt = "加载中" >
			<!-- <div class="jumbotron" id = "d1"></div> -->
			<div class="col-md-4 column"></div><div class="col-md-4 column" id = "e">
		
			<a href = "${pageContext.request.contextPath}/eva_many.action">员工业绩报表</a>
			</div>
			<div class="col-md-4 column"></div>
			<input type = "button" value = "增加" onclick="location.href='${pageContext.request.contextPath}/jsp-zq/addEva.jsp'"/> 
			<table class="table">
				<thead>
					<tr>
						<th>
							代号
						</th>
						<th>
							员工编号
						</th>
						<th>
							出勤率
						</th>
						<th>
							员工工作能力
						</th>
						<th>
							员工工作态度
						</th>
						<th>
							员工工作业绩
						</th>
					</tr>
				</thead>
					<c:forEach items="${evaList}" var="e">
				<tbody>
					<tr>
						<td>
							${e.eid}
						</td>
						<td>
							${e.empno}
						</td>
						<td>
							${e.attendance}
						</td>
						<td>
							${e.skill}
						</td>
						<td>
							${e.attitude}
						</td>
						<td>
							${e.achievement}
						</td>
						<td>
					<input type = "button" value = "修改" onclick="location.href='${pageContext.request.contextPath}/eva_findById.action?eid=${e.eid }&option=update'"/>
					<input type = "button" value = "删除" onclick="location.href='${pageContext.request.contextPath}/eva_delete.action?eid=${e.eid}'"/>
					
						</td>
					</tr>
					
					</c:forEach>
				</tbody>
			</table>
			
			<ul class="pagination"> <!-- 分页  -->
				<li>
					 <a href="eva_page.action?pageNo=1">首页</a>
				</li>
				<li>
					 <a href="eva_page.action?pageNo=${pageNo - 1}">上一页</a>
				</li>
				
				<li>
					 <a href="eva_page.action?pageNo=${pageNo + 1}">下一页</a>
				</li>
				<li>
					 <a href="eva_page.action?pageNo=30">尾页</a>
				</li>
			</ul>
		</div>
	</div>
</div>d

</body>
</html>